<?php

function yellowpage_theme($existing, $type, $theme, $path) {

    return array(
        'user_register' => array(
            'render element' => 'form',
            'template' => 'templates/user-register',
        ),
    );
}

function yellowpage_preprocess_page(&$variables) {
//    $form_search = drupal_get_form('yp_search_form');
//    $f_search = drupal_render($form_search);
//    $variables['yp_search'] = $f_search;
//    
//    $keyword=drupal_render($form_search['yp_keyword']);
//    $submit=drupal_render($form_search['submit']);
//    $variables['keyword'] = $keyword;
//    $variables['submit'] = $submit;
    
}